package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum TagCategory {
    goodmark(0, "好评"),
    badmark(1, "差评"),
    unknown(2, "未知");
    @EnumValue
    private final int code;
    private final String desc;

    TagCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
